<body>
<div>
	<textarea></textarea>
</div>
<div id="classic">
	<p>Example text</p>
</div>

<div id="inline">
	<p>Example text</p>
</div>

<script>
	CKEDITOR.replace( 'classic', { readOnly: true } );
	CKEDITOR.inline( 'inline', { readOnly: true } );
</script>
</body>
